Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(568)

Unified Diff: base/values.h

Issue 1527015: Support PNG and quality control in chrome.tabs.captureVisibleTab(). (Closed)
Patch Set: Rebase for checkin. Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_function.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/values.h
diff --git a/base/values.h b/base/values.h
index 44af9c1ee3935c427905c473969a6e94e2780584..a2d5f7e75e72d338d62e06f3981b207986e560fe 100644
--- a/base/values.h
+++ b/base/values.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 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.
@@ -85,8 +85,8 @@ class Value {
// These methods allow the convenient retrieval of settings.
// If the current setting object can be converted into the given type,
- // the value is returned through the "value" parameter and true is returned;
- // otherwise, false is returned and "value" is unchanged.
+ // the value is returned through the |out_value| parameter and true is
+ // returned; otherwise, false is returned and |out_value| is unchanged.
virtual bool GetAsBoolean(bool* out_value) const;
virtual bool GetAsInteger(int* out_value) const;
virtual bool GetAsReal(double* out_value) const;
@@ -256,8 +256,8 @@ class DictionaryValue : public Value {
// A path has the form "<key>" or "<key>.<key>.[...]", where "." indexes
// into the next DictionaryValue down. If the path can be resolved
// successfully, the value for the last key in the path will be returned
- // through the "value" parameter, and the function will return true.
- // Otherwise, it will return false and "value" will be untouched.
+ // through the |out_value| parameter, and the function will return true.
+ // Otherwise, it will return false and |out_value| will be untouched.
// Note that the dictionary always owns the value that's returned.
bool Get(const std::wstring& path, Value** out_value) const;
@@ -369,14 +369,14 @@ class ListValue : public Value {
// the value is a null pointer.
bool Set(size_t index, Value* in_value);
- // Gets the Value at the given index. Modifies value (and returns true)
+ // Gets the Value at the given index. Modifies |out_value| (and returns true)
// only if the index falls within the current list range.
- // Note that the list always owns the Value passed out via out_value.
+ // Note that the list always owns the Value passed out via |out_value|.
bool Get(size_t index, Value** out_value) const;
- // Convenience forms of Get(). Modifies value (and returns true) only if
- // the index is valid and the Value at that index can be returned in
- // the specified form.
+ // Convenience forms of Get(). Modifies |out_value| (and returns true)
+ // only if the index is valid and the Value at that index can be returned
+ // in the specified form.
bool GetBoolean(size_t index, bool* out_value) const;
bool GetInteger(size_t index, int* out_value) const;
bool GetReal(size_t index, double* out_value) const;
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_function.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698