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

Side by Side Diff: chrome/browser/extensions/extension_font_settings_api.cc

Issue 10447013: CL for readability review. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment for test Created 8 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Font Settings Extension API implementation.
6
5 #include "chrome/browser/extensions/extension_font_settings_api.h" 7 #include "chrome/browser/extensions/extension_font_settings_api.h"
6 8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/command_line.h" 10 #include "base/command_line.h"
9 #include "base/json/json_writer.h" 11 #include "base/json/json_writer.h"
10 #include "base/stringprintf.h" 12 #include "base/stringprintf.h"
11 #include "base/string_util.h" 13 #include "base/string_util.h"
12 #include "base/values.h" 14 #include "base/values.h"
13 #include "chrome/browser/extensions/extension_event_router.h" 15 #include "chrome/browser/extensions/extension_event_router.h"
14 #include "chrome/browser/extensions/extension_preference_helpers.h" 16 #include "chrome/browser/extensions/extension_preference_helpers.h"
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 return kCharsetKey; 495 return kCharsetKey;
494 } 496 }
495 497
496 const char* SetDefaultCharacterSetFunction::GetPrefName() { 498 const char* SetDefaultCharacterSetFunction::GetPrefName() {
497 return prefs::kDefaultCharset; 499 return prefs::kDefaultCharset;
498 } 500 }
499 501
500 const char* SetDefaultCharacterSetFunction::GetKey() { 502 const char* SetDefaultCharacterSetFunction::GetKey() {
501 return kCharsetKey; 503 return kCharsetKey;
502 } 504 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698