Commit c9d98808 authored by yzshen@chromium.org's avatar yzshen@chromium.org

Profile mojom: change some fields to nullable according to documentation.

BUG=324170
TEST=None

Review URL: https://codereview.chromium.org/474563004

Cr-Commit-Position: refs/heads/master@{#291363}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291363 0039d316-1c4b-4281-b951-d872f2087c98
parent 3181a6a0
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module mojo {
// Provides access to system information.
interface ProfileService {
enum PathKey {
DIR_TEMP // temporary directory
};
// Returns a path to a special directory or file. If you ask for a directory
// it is guaranteed to NOT have a path separator at the end. For example,
// "c:\windows\temp" Returns |null| if the directory of path doesn't exist.
// On windows and Mac OS X and Chrome OS, path will be utf-8 encoded, on all
// other platform, the encoding is not specified and may depend on the file
// system.
GetPath(PathKey key) => (string path);
};
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment